package com.gy.boot.service.impl;

import com.gy.boot.common.dao.IDao;
import com.gy.boot.common.dao.IEntity;
import com.gy.boot.service.UserService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Override
    public List<IEntity> listUserEntity(IEntity params) {
        List<IEntity> listUser = IDao.listS("User.listUserEntity", params);
        for (IEntity user : listUser) {
            user.put("test_id", "xxx");
        }
        System.out.println("listUser: " + listUser);
        return listUser;
    }


    

}
